package com.anolesoft.yr.mbus.cont.dao;

import com.anolesoft.yr.mbus.cont.entity.ContType;
import com.anolesoft.yr.mbus.cont.entity.ContTypeExample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ContTypeDao extends BaseMapper<ContType> {
    long countByExample(ContTypeExample example);

    int deleteByExample(ContTypeExample example);

    List<ContType> selectByExample(ContTypeExample example);

    int updateByExampleSelective(@Param("record") ContType record, @Param("example") ContTypeExample example);

    int updateByExample(@Param("record") ContType record, @Param("example") ContTypeExample example);

    int updateBatch(List<ContType> list);

    int updateBatchSelective(List<ContType> list);

    int batchInsert(@Param("list") List<ContType> list);

    int insertOrUpdate(ContType record);

    int insertOrUpdateSelective(ContType record);

    List<ContType> selectContAddType();

}